package creational.abstractfactory;

public class AmdPcFactory implements IPcFacotry {

    @Override
    public Pc createComputer(int iCpuType, int iMainboradType, int iGraphicsCard) {
        AmdCpu pAmdCpu = new AmdCpu(iCpuType);
        AmdMainbroad pAmdMainbroad = new AmdMainbroad(iMainboradType);
        AmdGraphicsCard pAmdGraphicsCard = new AmdGraphicsCard(iGraphicsCard);
        return new Pc(pAmdCpu, pAmdMainbroad, pAmdGraphicsCard);
    }
}
